Skip to content

improve type safety with regards to config files #601

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 1, 2020

Conversation

bbarry
Copy link
Contributor

@bbarry bbarry commented Jun 1, 2020

PR Checklist

Overview

Last week I said I would look deeper at the poor DeepPartial<T> type in #589

It seems that this type needs to touch a number of config related places and there are several places where incomplete configurations might have slipped through but were fine according to tsc.

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked this branch out locally and it plays great - a lot of little edge cases fixed for. Thanks @bbarry!

Just requesting changes on the one type system test. I think we can get rid of it, but happy to discuss if you see a lot of value in keeping it?

@JoshuaKGoldberg JoshuaKGoldberg added the status: waiting for author The PR author should address requested changes label Jun 1, 2020
@bbarry bbarry requested a review from JoshuaKGoldberg June 1, 2020 21:16
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful. Thank you! 🤩

@JoshuaKGoldberg JoshuaKGoldberg merged commit 4ffb50c into typescript-eslint:master Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for author The PR author should address requested changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants